home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 076-100 / disk_087 / warptext / warptext.i < prev   
Text File  |  1992-05-06  |  2KB  |  28 lines

  1. * ------------------------------------------------------------------------
  2. * graphics/WarpText.i -- The include for an ultra-fast,     Bill Kelly
  3. * super_spiffy text-emitting routine.  :-)                  06/01/87
  4. *
  5. * Copyright 1987 by Bill W. Kelly.  All Rights Reserved.
  6. *
  7. * This is meant to go in the Graphics directory of the assembler includes.
  8. * When you assemble WarpText.asm, it includes: "graphics/WarpText.i"
  9. * ------------------------------------------------------------------------
  10.  
  11.     STRUCTURE   WarpInfo,0      ; ...the <I> denotes internal use.
  12.         APTR    wi_TextFont     ;     Pointer to a TextFont structure.
  13.         APTR    wi_BitMap       ;     Pointer to a BitMap structure.
  14.         WORD    wi_WhichPlane   ;     Which bitplane to render into.
  15.         WORD    wi_Left         ;     Left edge of 'window' in char loc's.
  16.         WORD    wi_Top          ;     Top edge of 'window' in char loc's.
  17.         WORD    wi_Width        ;     Width of 'window' in char loc's.
  18.         WORD    wi_Height       ;     Height of 'window' in char loc's.
  19.         APTR    wi_WindowTop    ; <I> Address of top of 'window.'
  20.         APTR    wi_CurLine      ; <I> Address of start of current line.
  21.         APTR    wi_LastLine     ; <I> Address of start of last line.
  22.         WORD    wi_CurX         ; <I> Current X position.
  23.         WORD    wi_LastX        ; <I> Maximum X position on a line.
  24.         WORD    wi_BPMod        ; <I> # total possible chars on a line in bp
  25.         WORD    wi_Modulo       ; <I> Add this to get to next line.
  26.         LABEL   wi_SIZE
  27.  
  28.